#include"Mythread.hpp"
#include<iostream>
#include<unistd.h>
using namespace std;

void print()
{
    int n = 5;
    while(n--)
    {
        cout << "Runing..." <<endl;
        sleep(1);
    }
}

int main()
{
    Thread t(print);
    t.run();
    t.Join();
    return 0;
}